package com.weixing.mall.core.support.msg;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: kfc
 * @Description: <br/>
 * Date:Create in 2019/5/29 16:27
 * @Modified By:
 */
@Data
@NoArgsConstructor
public class Msg {

    /**
     * 业务代码（注册、登录...）
     */
    private MsgBizEnum bizCode;
    /**
     * 手机号，多个手机号逗号（,）隔开
     */
    private String phoneNo;

    private SmsParam param;

    public Msg(MsgBizEnum bizCode, String phoneNo, SmsParam param) {
        this.bizCode = bizCode;
        this.phoneNo = phoneNo;
        this.param = param;
    }
}
